home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / Apple Game Sprockets / DrawSprocket / GoggleSprocket / GoggleSprocket.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-12  |  1.1 KB  |  45 lines  |  [TEXT/CWIE]

  1. /*
  2. ********************************************************************************
  3. **
  4. ** Name: GoggleSprocket.h
  5. **
  6. ** Description:
  7. **
  8. **    Header file for the application-level interface to GoggleSprocket.
  9. **
  10. ********************************************************************************
  11. */
  12. #ifndef __GOGGLESPROCKET__
  13. #define __GOGGLESPROCKET__
  14.  
  15. #include <Types.h>
  16. #include <Events.h>
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22. /*
  23. ********************************************************************************
  24. ** constants & data types
  25. ********************************************************************************
  26. */
  27. typedef Boolean (*GSpEventProcPtr)( EventRecord *inEvent );
  28.  
  29. /*
  30. ********************************************************************************
  31. ** prototypes for application level calls
  32. ********************************************************************************
  33. */
  34. /* general */
  35. OSStatus GSpStartup( UInt32 inReserved );
  36. OSStatus GSpShutdown( UInt32 inReserved );
  37.  
  38. /* configuration */
  39. OSStatus GSpConfigure( GSpEventProcPtr inEventProc, Point *inUpperLeft );
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44.  
  45. #endif /* __GOGGLESPROCKET__ */